Dynomotion

Group: DynoMotion Message: 10899 From: meghabilva Date: 1/22/2015
Subject: Move X axis to one destination

Hello Tom,


Thank you for your Help of my Previous Question.

Sorry to disturb you again but i am little poor in Programming. 

I have one more question.


(1) I am Making my application with SimpleFormCS c#.net and While we click on Jog x+ it continuously moving in positive direction.

Now, I want to move x axis at one exact destination point. i have data list of different points now i want to move my x axis to that points one by one. How can i do it?


I explore in KM_axis but couldn't find proper solution.

i tried to create object of KM-Axis( same as KM_controller) and than tried to use it's functions but not able to solve it. 

Please Give Proper solution of this.


Thank you,

MP

Group: DynoMotion Message: 10900 From: Tom Kerekes Date: 1/22/2015
Subject: Re: Move X axis to one destination
Hi MP

Here is an example using KM_Axis class to Launch a move to a specific location:

        private void MoveTo_Click(object sender, EventArgs e)
        {
            KM_Axis XAxis = new KM_Axis(KM, 0, "X");
            XAxis.Velocity = 1000.0;
            XAxis.StartMoveTo(double.Parse(MoveToValue.Text));
        }

Also attached SimpleFormsCS changed project files

HTH
Regards
TK

Group: DynoMotion Message: 10902 From: meghabilva Date: 1/22/2015
Subject: Re: Move X axis to one destination
Hey Tom,

It is amazing. It works Perfect . i got the result which i wanted.
Thank you so much for your help.
I do really appreciate your support.

Thank you so much.
MP